<header  class="bar bar-header  bar-stable bar-mycolor">
	<a class="button button-clear icon ion-ios-arrow-left" href="#/tab/main" ></a>
		<h1 class="title ">活动</h1>
	<!--<button class="button button-clear icon ion-share"></button>-->
</header>

<header  class="bar bar-subheader  bar-stable bar-mycolor ">
	<div class="row row-center bk-white row-margin">
		<div class="content-center">
			<button class="bt-style2 " ng-class="{'bt-active2':ac_time}" ng-click="load_act_type('time')">最新促销</button>
			<button class="bt-style2"  ng-class="{'bt-active2':ac_hot}" ng-click="load_act_type('hot')">最热促销</button>
		</div>
	</div>
</header>

<ion-content class="has-subheader bk-gray" data-ng-init="activityInit()">
	<ion-refresher
	    pulling-text="下拉刷新..."
	    on-refresh="ac_fresh()">
	</ion-refresher>
	
	<ion-list class="product-list-activity" >
		
		<div class="myrow" id="product-activity-list">
	        <div class="item item-body" ng-repeat="item in product_data" ng-click="goto_product_info(item.id)">
	          <img class="full-image" src="{{item.image}}">
	          <div class="activity-item-desc font-color-gray">
	         	<span class="activity-title float-left">{{item.name}}</span>
		        <span class="activity-sale float-left">总销量:{{item.sale_count}}</span> 
		          
		        <span class="activity-icons float-right">
		        	<a class="subdued icon ion-chatbox-working">{{item.comment_count}}</a>
		        	
		        	<a class="subdued icon ion-ios-heart-outline">{{item.follow_count}}</a>
		        	
		        	<span class="activity-price-before ">
			        	<del>¥{{item.sale_price}}</del>
			        </span>
			        
			        <span class="activity-price-after ">
			        	¥{{item.ctivity_price}}
			        </span>
		        </span> 
	          </div>
	       </div>  
       </div> 
      
    </ion-list>
    
    <ion-infinite-scroll  ng-if="!isStop_scroll" on-infinite="scroll_load_ac()" distance="1%" ></ion-infinite-scroll>
		
</ion-content >